{% extends "space/rest/index.html" %}
{% block script %}
	
	
{% endblock %}
{% load pagination_tags %}
{% block right_container %} 
    <div class="admin_position">商户管理 > 订单列表</div>
    
     <div class="admin_content" >
     <table class="admin_mer_orderConfirm"><tbody>
     	<form method="post" action="" name="orderForm">	
           <tr>
              <td colspan="4" class="admin_top_title">订单确认 <input value="输入订单号" name="sn" value="{{sn}}"><input type="submit" name="submit" value="搜索"></td>
           </tr>
           {% csrf_token %}
        </form>
           <tr class="admin_title">
              <td width="20%">订单编号</td>
              <td width="20%">下订日期</td>
              <td width="20%">订单明细</td>
              <td>操作</td>              
           </tr>
           {% autopaginate orders 10%}
           {% for order in orders%}
           <tr>
              <td>{{order.sn}}</td>
              <td>{{order.reg_time|date:"Y-m-d H:m:s"}}</td>
              <td><a href="">查看</a></td>
              <td>输入密码<input type="password"><button>确认</button></td>              
           </tr>
           {% endfor %}        
          </tbody></table>
          {% paginate %}
          </div>   
     
{% endblock %}
